package d0306.pkg2;

import d0306.pkg1.PackageUtil;

public class Protected2 extends PackageUtil {
    //extends把Protected2变成PackageUtil的子类
    int j=b;
//b为PackageUtil中的Proteected类
    public static void main(String[] args) {
        Protected2 protected2=new Protected2();
        System.out.println(protected2.j);
    }

}
